﻿namespace AzManPermissions
{
  /// <summary>
  /// Service client for <see cref="T:AzManPermissions.AzManOperationRemotePermission" />.
  /// </summary>
  public class AzManServiceClient : System.ServiceModel.ClientBase<AzManPermissions.IAzManService>, AzManPermissions.IAzManService
  {
    public AzManServiceClient()
    {
    }

    public AzManServiceClient(string endpointConfigurationName) :
      base(endpointConfigurationName)
    {
    }

    public AzManServiceClient(string endpointConfigurationName, string remoteAddress) :
      base(endpointConfigurationName, remoteAddress)
    {
    }

    public AzManServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
      base(endpointConfigurationName, remoteAddress)
    {
    }

    public AzManServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
      base(binding, remoteAddress)
    {
    }

    public bool AccessCheck(string name, string objectName, string scopeName, int operation)
    {
      return base.Channel.AccessCheck(name, objectName, scopeName, operation);
    }
  }
}